﻿using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace CommonManagement
{
    /// <summary>
    /// 用户应用服务接口
    /// </summary>
    public interface IUserAppService : IApplicationService
    {
        /// <summary>
        /// 获取信息
        /// </summary>
        Task<UserGetInfoResponse> GetInfoAsync();

        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="input"></param>
        Task<UserUpdateResponse> UpdateAsync(UserUpdateDto input);

        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="input"></param>
        Task<UserResetPwdResponse> ResetPwdAsync(UserResetPwdDto input);
    }
}